<!-- 基本信息 -->
<template>
  <div class="baseinfo">
    <el-form label-width="100px" size="mini">
      <el-row>
        <el-col :span="5">
          <el-form-item label="生产计划编号">
            {{data.planCode}}
          </el-form-item>
          <el-form-item label="成品名称">
            {{data.proName}}
          </el-form-item>
          <el-form-item label="单位">
            {{data.unitName}}
          </el-form-item>
          <el-form-item label="需求时间">
            {{parseTime(data.deadLine, '{y}-{m}-{d} {h}:{i}:{s}')}}
          </el-form-item>
          <el-form-item label="备注">
            {{data.remark}}
          </el-form-item>
          <!-- <el-form-item label="附件">
            456431152
          </el-form-item> -->
          <!-- <el-form-item label="工单状态">
            456431152
          </el-form-item> -->
        </el-col>
        <el-col :span="5">
          <el-form-item label="生产计划名称">
            {{data.planName}}
          </el-form-item>
          <el-form-item label="成品编码">
            {{data.proCode}}
          </el-form-item>
          <el-form-item label=" 计划数">
            {{data.planCount}}
          </el-form-item>
          <el-form-item label="创建日期">
            {{parseTime(data.createTime, '{y}-{m}-{d} {h}:{i}:{s}')}}
          </el-form-item>
          <el-form-item label="计划状态">
            {{data.planStatusDesc}}
          </el-form-item>
          <!-- <el-form-item label="工单进度">
            7465146533132
          </el-form-item> -->
        </el-col>
        <el-col :span="5">
          <el-form-item label="订单来源">
            {{data.orderSourceDesc}}
          </el-form-item>
          <el-form-item label="规格型号">
            {{data.productSpc}}
          </el-form-item>
          <el-form-item label="开工时间">
            {{ parseTime(data.startTime, '{y}-{m}-{d} {h}:{i}:{s}') }}
          </el-form-item>
          <el-form-item label="创建人">
            {{data.createBy}}
          </el-form-item>
          
        </el-col>
        <el-col :span="5">
          <el-form-item label="订单编号">
            {{data.orderCode}}
          </el-form-item>
          <el-form-item label="产品类型">
            {{data.itemTypeName}}
          </el-form-item>
          <el-form-item label="完工时间">
            {{parseTime(data.endTime, '{y}-{m}-{d} {h}:{i}:{s}')}}
          </el-form-item>
          <el-form-item label="计划标签">
            {{data.planStatusDesc}}
          </el-form-item>
        </el-col>
        <!-- <el-col :span="4">
          <el-form-item label="订单类型">
            {{data.workorderType}}
          </el-form-item>
          <el-form-item label="产品类型">
            {{data.productSpc}}
          </el-form-item>
          <el-form-item label="需求日期">
            {{data.requestDate}}
          </el-form-item>
          <el-form-item label="备注">
            {{data.remark}}
          </el-form-item>
        </el-col> -->
      </el-row>
    </el-form>
  </div>
</template>

<script>
  export default {
    name: 'BaseInfo',
    props: {
      data: undefined
    },
    data() {
      return {

      }
    },
    created() {
      console.log('baseinfo created');
    },
    methods: {

    }
  }
</script>

<style lang="scss" scoped>

</style>